From cdd3c88b5d7b9e8db3d11f326c89f14f6bd1f7db Mon Sep 17 00:00:00 2001 From: Aquila Macedo Date: Thu, 8 Jan 2026 21:34:26 -0300 Subject: [PATCH] sysusers.d: lock mysql user and keep Debian home/shell Use u! and set HOME=/nonexistent and shell=/bin/false for the mysql user. Gbp-Pq: Name sysusers-lock-mysql-account.patch --- support-files/sysusers.conf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support-files/sysusers.conf.in b/support-files/sysusers.conf.in index a975b2947..8de384f45 100644 --- a/support-files/sysusers.conf.in +++ b/support-files/sysusers.conf.in @@ -1 +1 @@ -u @MYSQLD_USER@ - "MariaDB" @MYSQL_DATADIR@ +u! @MYSQLD_USER@ - "MariaDB Server" /nonexistent /bin/false -- 2.30.2